package com.yungu.swift.order.model.param;

import com.yungu.swift.base.model.api.ApiParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @author : cuixiuyin
 * @date : 2019/11/27
 */
@Data
public class ApiJoinCarModelParam extends ApiParam {

    @NotBlank
    @ApiModelProperty(value = "起点UUID")
    private String originUuid;

    @NotBlank
    @ApiModelProperty(value = "终点UUID")
    private String destUuid;

    @NotNull
    @ApiModelProperty(value = "拼车类型（1拼车 2包车 3小件 4二人快车）")
    private Integer typeJoin;

    @NotNull
    @ApiModelProperty(value = "乘客数量")
    private Integer adultNum;

    @NotNull
    @ApiModelProperty(value = "起点经度")
    private Double originLng;

    @NotNull
    @ApiModelProperty(value = "起点纬度")
    private Double originLat;

    @NotNull
    @ApiModelProperty(value = "终点经度")
    private Double destLng;

    @NotNull
    @ApiModelProperty(value = "终点纬度")
    private Double destLat;

    @ApiModelProperty(value = "出发时间")
    private Long deparTime;
}
